<?php
error_reporting(E_ALL);
define('DS', DIRECTORY_SEPARATOR);
// prueba de commit, yo recibi el cambio y le di update
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache"); 

defined('TABLE_PREFIX') || define('TABLE_PREFIX', 'rockaltern_');
defined('VERSION_CART') || define('VERSION_SYSTEM', 'v1.0.1');
defined('NAME_CART') || define('NAME_SYSTEM', 'Rockalterno');
defined('DIAG_PATH') || define('DIAG_PATH', '/');

// Define path to application directory
defined('APPLICATION_PATH') || define('APPLICATION_PATH', realpath(dirname(__FILE__) . DIAG_PATH . 'application'));
defined('EMAILS_PATH') || define('EMAILS_PATH', realpath(dirname(__FILE__) . DIAG_PATH . 'application/views/helpers/emails'));

// Define path to application directory
defined('IMAGES_PATH') || define('IMAGES_PATH', realpath(dirname(__FILE__).DS.'images'.DS.'files'));

// Define application environment
defined('APPLICATION_ENV') || define('APPLICATION_ENV', (getenv('APPLICATION_ENV') ? getenv('APPLICATION_ENV') : 'production'));

// Ensure library/ is on include_path
set_include_path(implode(PATH_SEPARATOR, array(
    realpath(APPLICATION_PATH . DIAG_PATH . '..' . DIAG_PATH .  'library'),
    get_include_path(),
)));

/** Zend_Application */
require_once 'Zend' . DIAG_PATH .  'Application.php';

// Create application, bootstrap, and run
$application = new Zend_Application(
    APPLICATION_ENV,
    APPLICATION_PATH . DIAG_PATH . 'configs' . DIAG_PATH .  'application.ini'
);
$application->bootstrap()
            ->run();
